package com.aier.school.entity;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * SchoolIcard entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "school_teacher_icard", catalog = "aier360", uniqueConstraints = @UniqueConstraint(columnNames = {
        "sid", "icid" }))
public class SchoolTeacherIcard implements java.io.Serializable {

    // Fields

    private Long stid;
    private Integer sid;
    private Long icid;
    private Long tid;

    /*
     * 扩展
     */
    //ic卡卡号
    private String icname;
    //ic卡验证码
    private String icfoot;
    //教师姓名
    private String realname;
    //ic卡所属学校名称
    private String sname;
    //激活时间
    private Timestamp bsdate;
    //ic卡状态
    private Short state;
    

    // Constructors

    /** default constructor */
    public SchoolTeacherIcard() {
    }

    /** minimal constructor */
    public SchoolTeacherIcard(Integer sid, Long icid, Short state) {
        this.sid = sid;
        this.icid = icid;
    }

    /** full constructor */
    public SchoolTeacherIcard(Integer sid, Long icid, Long cid, Long uid, Long tid,
            Short state) {
        this.sid = sid;
        this.icid = icid;
        this.tid = tid;
    }

    public Long getStid() {
        return stid;
    }

    public void setStid(Long stid) {
        this.stid = stid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Long getIcid() {
        return icid;
    }

    public void setIcid(Long icid) {
        this.icid = icid;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public String getIcname() {
        return icname;
    }

    public void setIcname(String icname) {
        this.icname = icname;
    }

    public String getIcfoot() {
        return icfoot;
    }

    public void setIcfoot(String icfoot) {
        this.icfoot = icfoot;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Timestamp getBsdate() {
        return bsdate;
    }

    public void setBsdate(Timestamp bsdate) {
        this.bsdate = bsdate;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }



    
}